Method and system for assessing drug efficacy using multiple graph kernel fusion

ABSTRACT

Embodiments of the present systems and methods may provide techniques to predict the success or failure of a drug used for disease treatment. For example, a method of determining drug efficacy may include, for a plurality of patients, generating a directed acyclic graph from health related information of each patient comprising nodes representing a medical event of the patient, at least one first edge connecting the first node to an additional node, each additional edge connecting nodes representing two consecutive medical events, the edge having a weight based on a time difference between the two consecutive medical events, capturing a plurality of features from each directed acyclic graph, generating a binary graph classification model on captured features of each directed acyclic graph, determining a probability that a drug or treatment will be effective using the binary graph classification model, and determining a drug to be prescribed to a patient based on the determined probability.

CROSS-REFERENCE TO RELATED APPLICATIONS

This patent application is a continuation of U.S. patent applicationSer. No. 17/555,675, filed Dec. 20, 2021, which claims benefit of U.S.patent application Ser. No. 17/088,172, filed Nov. 3, 2020, which claimsthe benefit of U.S. Provisional Application No. 62/930,072, filed Nov.4, 2019 and claims the benefit of U.S. Provisional Application No.63/042,676, filed Jun. 23, 2020, the contents of all of which areincorporated herein in their entirety.

BACKGROUND

The present invention relates to systems and methods that may providetechniques to predict the success or failure of a drug used for diseasetreatment using an accurate and efficient model to predict the successpotential of a specific drug prescription for a given ailment.

Erroneous medication prescription is defined as a failure in themedication treatment process that results in an unsuccessful treatmentor harmful outcome to patients. Clinicians have the responsibility toaccurately diagnose and adequately treat a patient's disease. Fortreatments that require medications, the ideal prescription is the onethat is most effective and presents the least harmful side effects. Yet,this is not always achieved. Further, for newly emergent diseases, it isimportant that effective treatments be identified quickly andefficiently.

For example, at present, there are few, if any, fully approvedcoronavirus treatments. Remdesivir, a new intravenous antiviral,received an FDA emergency use authorization. However, researchers aretesting existing medications (targeted for treatment of otherconditions) for COVID-19 treatment. Such drugs being tested may include,for example, Remdesivir, a new drug, Dexamethasone, a corticosteroidcurrently used for autoimmune and allergic reactions, Hydroxychloroquineand Chloroquine. currently used for malaria & autoimmune diseases,Azithromycin, an antibiotic currently used for bronchitis & pneumonia,Tocilizumab (Actemra), currently used for Rheumatic arthritis, Kaletra(lopinavir/ritonavir), currently used as an HIV medication, Tamiflucurrently used for Influenza, Colchicine currently used for Gout, etc.Many such medications are used by thousands or millions of patients forwhom medical records are available. Further, COVID-19 treatments arecohort specific, with varying guidelines for identifying patientsdepending on their health. For example, patients with history of cancer,diabetes, digestive and liver health, etc. have different careguidelines. Accordingly, the likelihood of success of a particular drugmay vary with patient history and demographics.

The rapid growth of patient Electronic Health Records (EHRs) providesopportunities to develop a data-driven analytical application on medicaldata. Many approaches for many medical applications exist.

Due to the complex nature of EHR data, implementing a predictive modelis difficult. For example, electronic phenotyping is the process ofextracting relevant features from EHRs, a major step before performingan analytical task. Such approaches transform EHRs into vectorrepresentations via various feature extraction techniques (e.g.,electronic phenotyping). The extracted feature vectors, where eachdimension corresponds to a certain medical concept, are fed into alinear classifier. This flattening formulation of EHRs ignores temporalrelationships between medical events in a patient's history, reducingeffectiveness. On the other hand, many extraction tasks require domainmedical knowledge to generate hand-crafted features, which is notefficient and cost prohibitive at large scale. Thus, as a featureextraction technique, electronic phenotyping may cause information losson the discriminant features.

Recently, the emergence of deep learning models pose other ways toanalyze EHR data (e.g., EHR data embedding) which achieve betterperformance with significantly less feature engineering. However, resultinterpretation of such systems is difficult. For example, RecurrentNeural Networks (RNN) model time series medical data. However,interpretability concerns associated with deep learning approaches,particularly in the medical domain, limit their use. Notwithstanding,the trade-off to achieve high accuracy and high interpretabilityremains.

Many studies introduce attention-based RNN models to improveinterpretability. However, the majority of efforts rely on publiclyavailable datasets or on a collaborating hospital's EHR system wherepatient demographic information is mostly uniform. Unfortunately, thisuniformity of data fails to exist when developing approaches forreal-world, integrated EHR systems (e.g., insurance claim-based EHRsystems). On this occasion, highly temporally dependent data attributeswith high noise and variance often induce model over-fitting. Such aproblem may be addressed with a proposed graph-kernel EHR predictivemodel, yet they only consider a single medication with immediate outcomeobservations. For chronic diseases, long-term disease progressioncoupled with EHR complexity complicates the effort. Thus,attention-based deep learning models and handcrafted kernel computationsare limited to handle complex EHR under long-term disease progression.The increased divergence and noise on data attributes over-fit the deeplearning model and defeat the handcrafted kernel.

Accordingly, a need arises for techniques to predict the success orfailure of a drug used for disease treatment that may provide improvedaccuracy and efficiency and may provide identification drugs most likelyto be effective that are patient-specific as well as disease specific.

SUMMARY

Embodiments of the present systems and methods may provide techniques topredict the success or failure of a drug used for disease treatmentusing an accurate and efficient model to predict the success potentialof a specific drug prescription for a given ailment. For example,embodiments may predict success or failure of drug prescription byformulating a binary graph classification problem without the need ofelectronic phenotyping. First, training data may be identified, such assuccess and failure patients for target disease treatment within auser-defined time period. The set of medical events from patientElectronic Health Records (EHRs) that occur within this time quantum maybe extracted. Then, a classification task may be performed on thegraphical representation of the patient EHRs. The graphicalrepresentation provides an opportunity to model the EHRs in a compactstructure with high interpretability.

As disclosed herein, patients need not be human. That is, the methodsand systems disclosed herein are applicable to any animal, human ornon-human, under clinical care. Embodiments disclosed are exemplifiedwithout loss of generality using human patients.

Embodiments of the present systems and methods may provide a kernelbased deep architecture to predict the success or failure for drugprescription given to a patient. The success and failure of medicationson patients may be identified to provide targeted disease treatment. AnEHR prior to the disease diagnosis is included for each patient, andtheir graphical representation (e.g., patient graph), where nodes denoteall medical events with day differences as edge weights, are built. Thebinary graph classification task is performed directly on the patientgraph via a deep architecture. Interpretability is readily available andeasily accepted by users without further post-processing due to thenature of the graph structure.

Embodiments of the present systems and methods may provide a novel graphkernel, Temporal proximity kernel, which efficiently calculates temporalsimilarity between two patient graphs. The kernel function is proven tobe positive definite, increasing the model availability by using akernelized classifier such as Support Vector Machine (SVM). To obtainthe multi-view aspect, we combine the temporal proximity kernel with thenode kernel and the shortest path kernel as a single kernel throughmultiple kernel learning.

To perform large scale and noise-resistant learning objectives,embodiments may transfer the original task to similarity-basedclassification, where each row in the kernel gram matrix is consideredas a feature vector with each dimension expressing the similaritymeasurement with specific training examples. A multiple graph kernelfusion approach is proposed to learn kernel representation in anend-to-end manner for the best kernel combination. We argue thatrepresentation learning is a typical kernel approximation whichpreserves the similarity while reducing the dimension for the originalkernel matrix. The embedding weight for each kernel supports theinterpretation to the prediction via most similar cases by selecting oneor a plurality of top relevant embedding dimension(s).

Embodiments of the present systems and methods may provide across-global attention graph kernel network to learn optimal graphkernels on a graphical representation of patient EHRs. The novelcross-global attention node matching automatically captures relevantinformation in biased long-term disease progression. In contrast toattention-based graph similarity learning that relies on a pairwisecomparisons of training pairs or triplets, our matching is performed ona batch of graphs simultaneously by a global cluster membershipassignment. This is accomplished without the need to generate trainingpairs or triplets for pairwise computations and seamlessly combinesclassification loss. The learning process is guided by cosine distance.The resulting kernel, compared to its Euclidean distance counterpart,has better noise resistance under a high dimension space. Unlikedistance metric learning and aforementioned graph similarity learning,we align our learned distance and graph kernel to a classificationobjective. We formulate an end-to-end training by jointly optimizingcontrastive and kernel alignment loss with a Support Vector Machine(SVM) primal objective. Such a training procedure encourages nodematching and similarity measurement to produce ideal classification,providing interpretation on prediction. The resulting kernel functioncan be directly used by an off-the-shelf kernelized classifier (e.g.,scikit-learn SVC). The cross-global attention node matching andkernel-based classification makes it interpretable in both knowledgediscovery and prediction case study.

Embodiments may provide one-shot disease processing, for example, for anantibiotic medication. To perform one-shot disease processing, adatabase of medical history data may be partitioned according to diseasediagnosis. A suggested medication may be attached to the data and usedto predict a likelihood of success or failure of the medication and toidentify similar individuals.

Embodiments may provide COVID-19 processing based on a presumptivemedication. A database of medical history data may be partitionedaccording to those having used the presumptive medication. Patientgraphs may be retained up until the last presumptive medication usewithin a surveillance window. A suggested medication may be attached tothe data and used to identify similar individuals indicating alikelihood of success or failure of use of the suggested medication forothers diseases under consideration.

For example, in an embodiment, a method of determining drug efficacy maybe implemented in a computer system comprising a processor, memoryaccessible by the processor and storing computer program instructions andata, and computer program instructions to perform for a plurality ofpatients, generating a directed acyclic graph from health relatedinformation of each patient, each directed acyclic graph comprising afirst node representing first demographic information of the patient, aplurality of additional nodes, each additional node representing amedical event of the patient, at least one first edge connecting thefirst node to an additional node, the first edge having a weight basedon second demographic information of the patient, and a plurality ofadditional edges, each additional edge connecting nodes representing twoconsecutive medical events, the edge having a weight based on a timedifference between the two consecutive medical events, capturing aplurality of features from each directed acyclic graph, generating abinary graph classification model on captured plurality of features ofeach directed acyclic graph, determining a probability that a drug ortreatment will be effective using the binary graph classification model,and determining a drug to be prescribed to a patient based on thedetermined probability.

In embodiments, the plurality of features may be captured bytransforming each directed acyclic graph to a shortest path graph,generating a temporal topological kernel by recursively calculatingsimilarity among temporal ordering on a plurality of groups ofadditional nodes, and generating a temporal substructure kernel onadditional edges connecting additional nodes in each group of additionalnodes. The plurality of features may be captured by generating atopological ordering of each directed acyclic graph based on an order ofoccurrence of a label associated with each additional node in eachdirected acyclic graph, generating a topological sequence of eachdirected acyclic graph comprising a plurality of levels indicating anorder of occurrence of a same node label in the topological sequence,generating a temporal signature for each directed acyclic graphcomprising a series of total passage times from the first node to eachadditional node in a union of a plurality of topological sequences,generating a temporal proximity kernel between a plurality of pairs oftemporal signatures, generating a shortest path kernel by calculating anedge walk similarity on shortest path graphs for a plurality of pairs ofdirected acyclic graphs, generating a node kernel by comparing nodelabels of a plurality of pairs of directed acyclic graphs, and fusingthe temporal proximity kernel, the shortest path kernel, and the nodekernel. The fusing may comprise reducing dimensions of the temporalproximity kernel, the shortest path kernel, and the node kernel for theplurality of pairs of directed acyclic graphs, and averaging embeddingsof the temporal proximity kernel, the shortest path kernel, and the nodekernel for the plurality of pairs of directed acyclic graphs.Determining a success or failure of the fusion may comprise using asigmoid layer.

In an embodiment, a system for determining drug efficacy may comprise aprocessor, memory accessible by the processor, and computer programinstructions stored in the memory and executable by the processor toperform for a plurality of patients, generating a directed acyclic graphfrom health related information of each patient, each directed acyclicgraph comprising a first node representing first demographic informationof the patient, a plurality of additional nodes, each additional noderepresenting a medical event of the patient, at least one first edgeconnecting the first node to an additional node, the first edge having aweight based on second demographic information of the patient, and aplurality of additional edges, each additional edge connecting nodesrepresenting two consecutive medical events, the edge having a weightbased on a time difference between the two consecutive medical events,capturing a plurality of features from each directed acyclic graph,generating a binary graph classification model on captured plurality offeatures of each directed acyclic graph, determining a probability thata drug or treatment will be effective using the binary graphclassification model, and determining a drug to be prescribed to apatient based on the determined probability.

In an embodiment, a computer program product for determining drugefficacy may comprise a non-transitory computer readable storage havingprogram instructions embodied therewith, the program instructionsexecutable by a computer, to cause the computer to perform a method thatmay comprise for a plurality of patients, generating a directed acyclicgraph from health related information of each patient, each directedacyclic graph comprising a first node representing first demographicinformation of the patient, a plurality of additional nodes, eachadditional node representing a medical event of the patient, at leastone first edge connecting the first node to an additional node, thefirst edge having a weight based on second demographic information ofthe patient, and a plurality of additional edges, each additional edgeconnecting nodes representing two consecutive medical events, the edgehaving a weight based on a time difference between the two consecutivemedical events, capturing a plurality of features from each directedacyclic graph, generating a binary graph classification model oncaptured plurality of features of each directed acyclic graph,determining a probability that a drug or treatment will be effectiveusing the binary graph classification model, and determining a drug tobe prescribed to a patient based on the determined probability.

BRIEF DESCRIPTION OF THE DRAWINGS

The details of the present invention, both as to its structure andoperation, can best be understood by referring to the accompanyingdrawings, in which like reference numbers and designations refer to likeelements.

FIG. 1 is an exemplary illustration of set of patient EHRs, according toembodiments of the present systems and methods.

FIG. 2 is an exemplary illustration of a Directed Acyclic Graph (DAG),according to embodiments of the present systems and methods.

FIG. 3 is an exemplary illustration of examples of success and failurecases, according to embodiments of the present systems and methods.

FIG. 4 is an exemplary illustration of a predictive framework directedto predicting effectiveness of a prescribed drug, according toembodiments of the present systems and methods.

FIG. 5 is an exemplary flow diagram of a process of transferring theinput from patient graphs to temporal signatures, according toembodiments of the present systems and methods.

FIG. 6 is an exemplary flow diagram of a process of transferring theinput from patient graphs to a shortest path kernel, according toembodiments of the present systems and methods.

FIG. 7 is an exemplary flow diagram of a process of transferring theinput from patient graphs to a node kernel, according to embodiments ofthe present systems and methods.

FIG. 8 is an exemplary flow diagram of a process of operation of amultiple graph kernel fusion architecture (MGKF) to perform graphclassification, according to embodiments of the present systems andmethods.

FIG. 9 is an exemplary flow diagram of a process of interpretation,according to embodiments of the present systems and methods.

FIG. 10 is an exemplary illustration of a predictive framework directedto predicting effectiveness of a course of treatment for a chroniccondition, according to embodiments of the present systems and methods.

FIG. 11 is an exemplary illustration of a Cross-Global Attention GraphKernel Network learning an end-to-end deep graph kernel on a batch ofgraphs, according to embodiments of the present systems and methods.

FIG. 12 is an exemplary illustration of matching by retrieving clusteridentity from global node clusters, according to embodiments of thepresent systems and methods.

FIG. 13 is an exemplary illustration of a patient DAG illustratingsuccess with pneumonia treatment, according to embodiments of thepresent systems and methods.

FIG. 14 is an exemplary illustration of a patient DAG illustratingfailure with pneumonia treatment, according to embodiments of thepresent systems and methods.

FIG. 15 is an exemplary flow diagram of a process for prediction foroutcome of a drug prescription, according to embodiments of the presentsystems and methods.

FIG. 16 is an exemplary flow diagram of a process of training aclassifier with an MGKF framework, according to embodiments of thepresent systems and methods.

FIG. 17 is an exemplary flow diagram of a portion of a process of usingthe trained classifiers with an MGKF framework to perform prediction foreach type of disease, according to embodiments of the present systemsand methods.

FIG. 18 is an exemplary flow diagram of a portion of a process of usingthe trained classifiers with an MGKF framework to perform prediction foreach type of disease, according to embodiments of the present systemsand methods.

FIG. 19 is an exemplary flow diagram of a process of predicting drugand/or treatment outcomes, according to embodiments of the presentsystems and methods.

FIG. 20 is an exemplary block diagram of a computer system, in whichprocesses involved in the embodiments described herein may beimplemented.

DETAILED DESCRIPTION

Embodiments of the present systems and methods may provide techniques topredict the success or failure of a drug used for disease treatmentusing an accurate and efficient model to predict the success potentialof a specific drug prescription for a given ailment. For example,embodiments may predict success or failure of drug prescription byformulating a binary graph classification problem without the need ofelectronic phenotyping. First, training data may be identified, such assuccess and failure patients for target disease treatment within auser-defined time period. The set of medical events from patientElectronic Health Records (EHRs) that occur within this time quantum maybe extracted. Then, a classification task may be performed on thegraphical representation of the patient EHRs. The graphicalrepresentation provides an opportunity to model the EHRs in a compactstructure with high interpretability.

Embodiments of the present systems and methods may provide a kernelbased deep architecture to predict the success or failure for drugprescription given to a patient. The success and failure of medicationon patients are identified for targeted disease treatment to generateare used to define the success and failure cases. An EHR prior to thedisease diagnosis is included for each patient, and their graphicalrepresentation (e.g., patient graph), where nodes denote all medicalevents with day differences as edge weights, are built. The binary graphclassification task is performed directly on the patient graph via adeep architecture. Interpretability is readily available and easilyaccepted by users without further post-processing due to the nature ofthe graph structure.

Embodiments of the present systems and methods may provide a novel graphkernel, Temporal proximity kernel, which efficiently calculates temporalsimilarity between two patient graphs. The kernel function is proven tobe positive definite, increasing the model availability by using akernelized classifier such as Support Vector Machine (SVM). To obtainthe multi-view aspect, we combine the temporal proximity kernel with thenode kernel and the shortest path kernel as a single kernel throughmultiple kernel learning.

To perform large scale and noise-resistant learning objectives,embodiments may transfer the original task to similarity-basedclassification, where each row in the kernel gram matrix is consideredas a feature vector with each dimension expressing the similaritymeasurement with specific training examples. A multiple graph kernelfusion approach is proposed to learn kernel representation in anend-to-end manner for the best kernel combination. We argue thatrepresentation learning is a typical kernel approximation whichpreserves the similarity while reducing the dimension for the originalkernel matrix. The embedding weight for each kernel supports theinterpretation to the prediction via most similar cases by selecting toprelevant embedding dimension.

Embodiments of the present systems and methods may provide across-global attention graph kernel network to learn optimal graphkernels on a graphical representation of patient EHRs. The novelcross-global attention node matching automatically captures relevantinformation in biased long-term disease progression. In contrast toattention-based graph similarity learning that relies on a pairwisecomparisons of training pairs or triplets, our matching is performed ona batch of graphs simultaneously by a global cluster membershipassignment. This is accomplished without the need to generate trainingpairs or triplets for pairwise computations and seamlessly combinesclassification loss. The learning process is guided by cosine distance.The resulting kernel, compared to its Euclidean distance counterpart,has better noise resistance under a high dimension space. Unlikedistance metric learning and aforementioned graph similarity learning,we align our learned distance and graph kernel to a classificationobjective. An end-to-end training may be formulated by jointlyoptimizing contrastive and kernel alignment loss with a Support VectorMachine (SVM) primal objective. Such a training procedure encouragesnode matching and similarity measurement to produce idealclassification, providing interpretation on prediction. The resultingkernel function can be directly used by an off-the-shelf kernelizedclassifier (e.g., scikit-learn SVC). The cross-global attention nodematching and kernel-based classification makes it interpretable in bothknowledge discovery and prediction case study.

In embodiments, up to three kernels may be used to achieve multi-viewsimilarity measurement—reducing potential medical record “noise”. Forexample, some training examples may dominate prediction results due tohigher kernel value. Embodiments may incorporate additional kernels tobalance this effect to improve prediction. Example of kernels that maybe used include a Temporal Proximity Kernel, which may provide temporalordering and time difference of medical events, a Shortest Path Kernel,which may provide general connectivity of medical events, and a NodeKernel, which may provide general overlapping of medical events.

Embodiments may provide one-shot disease processing, for example, for anantibiotic medication. To perform one-shot disease processing, adatabase of medical history data may be partitioned according to diseasediagnosis. A suggested medication may be attached to the data and usedto predict a likelihood of success or failure of the medication and toidentify similar individuals.

Embodiments may provide COVID-19 processing based on a presumptivemedication. A database of medical history data may be partitionedaccording to those having used the presumptive medication. Patientgraphs may be retained up until the last presumptive medication usewithin a surveillance window. A suggested medication may be attached tothe data and used to identify similar individuals indicating alikelihood of success or failure of use of the suggested medication forothers diseases under consideration.

An exemplary set of patient EHRs 100 is shown in FIG. 1 . EHRs 100 mayinclude a plurality of records 102-108. Typically, each record relatesto a different patient interaction with medical staff, diagnosis, testresult, etc., and may include information such as the date of theinteraction, diagnosis, test result, etc., demographic information aboutthe patient, such as identity, gender, date of birth, etc., informationabout the diagnosis or diagnoses, information about the prescription(s),etc.

A patient's EHR may be formulated as a Directed Acyclic Graph (DAG) 200,an example of which is shown in FIG. 2 . For example, each noderepresents a medical event, such as a disease diagnosis 206, a drugprescription 210, etc., and an edge between two nodes represents anordering with the time difference as edge weight (e.g., days). Forexample, the edge weights may include the prescription day 208, the daysto next diagnosis 212, etc. The demographic information of the patient,such as, gender, may be represented as a node 202 that connects to thefirst medical event 206 with age 204 as an edge weight. In this example,only gender and age are used as demographic information to simplify themodel.

A more detailed example 1300 of a patient DAG illustrating success withpneumonia treatment is shown in FIG. 13 . In this example, the diagnosisat each stage 1304-1312 of treatment, as well as the prescriptions ateach stage of treatment are shown. This example illustrates a successbecause there is no diagnosis of pneumonia for more than four weeksafter the end of the course of treatment, stage 5 1312.

A more detailed example 1400 of a patient DAG illustrating failure withpneumonia treatment is shown in FIG. 14 . In this example, the diagnosisat each stage 1404-1418 of treatment, as well as the prescriptions ateach stage of treatment are shown. This example illustrates a failure intreatment of pneumonia 1416 because there is a diagnosis of pneumoniawithin four weeks after a stage of treatment at stage 8 1418.

In embodiments, an EHR graph representation may be defined as follows:Given n medical events, set M={(m₁, t₁), . . . , (m_(n), t₁)} representsa patient's EHR with m_(i) denoting a medical event such as diagnosis,and t_(i) denoting the time for m_(i). Then the patient graph may bedefined as follows: Definition 1 (Patient Graph). The patient graphP_(g)=(V,E) of events M is a weighted directed acyclic graph with itsvertices V containing all events m_(i)∈M and edges E containing allpairs of consecutive events (m_(i), m_(j)). The edge weight from node ito node j is defined as W_(ij)=t_(j)−t_(i), which defines the timeinterval between m_(i), m_(j).

Given a disease diagnosis of a patient, a drug prescription for thediagnosis is considered a failure if the patient has a second samediagnosis within an observation window. Otherwise, the prescription isconsidered a success. Examples of success 300 and failure 301 cases areshown in FIG. 3 . The failure case 301 may be labelled as positive, andthe success 300 case may be labelled as negative. To capture historicalfactors, each case may contain previous medical history events 302 priorto the diagnosis date 303 in a user-defined period. Each case may betreated as a subset of patient EHRs as shown in FIG. 1 , which containsa multiple-event single-patient EHR. In short, each case contains themedical events before and after the disease diagnosis for a user-definedperiod. A drug prescription for the diagnosis is considered a failure ifthe patient has a second same diagnosis 305 within an observationwindow, which may include a period of treatment and observation 304, anda period of observation 306.

In embodiments, this may be extended to define the success or failure oftreatment plan for a chronic disease, following the guidelines publishedby the National Medical Association for selected chronic diseases.Generally, an observation window 306 is defined after a treatment period304 (which may include observation as well) to monitor whether the giventreatment plan achieves its treatment objective (such as no severecomplication occurrence in 5 years). Given a chronic disease diagnosis,a treatment may be considered a failure if the patient is diagnosed 305with a selected severe complication or comorbidity within the posttreatment observation window 306. Otherwise, the treatment may beconsidered a success. Due to the chronic disease long-term progressionwhere past factors are potentially decisive, all medical histories maybe included prior to the first diagnosis date. Each case may be treatedas a set of medical records from a patient's EHR as in FIG. 1 . Theterms patient and case may be used interchangeably herein.

Given a patient EHR, the patient's current diagnosis, and the drugprescription to the current diagnosis, embodiments may predict thesuccess or failure of a prescribed medication. A temporal graph G_(i)may be created that consists of the current diagnosis, the drugprescription to the current diagnosis, and the medical events in thepatient EHR prior to the current diagnosis. Then a binary graphclassification problem may be formulated on the resulting temporal graphby considering the following dual optimization problem for a SupportVector Machine (SVM):

$\begin{matrix}{{\underset{\alpha}{maximize}{\sum\limits_{i}\alpha_{i}}} - {\frac{1}{2}{\sum\limits_{j,k}{\alpha_{i}\alpha_{k}y_{i}y_{k}{K( {G_{j},G_{k}} )}}}}} & ( {1a} )\end{matrix}$ $\begin{matrix}{{{{subject}{to}0} \leq \alpha_{i} \leq C},{i = 1},\ldots,N} & ( {1b} )\end{matrix}$ $\begin{matrix}{{{\sum\limits_{i}{\alpha_{i}y_{i}}} = 0},{i = 1},\ldots,N} & ( {1c} )\end{matrix}$where K is a positive definite graph kernel on input graphs G_(j),G_(k). C is a regularization parameter, and b is a bias term. Given thegraph G_(i), the bias term b can be computed by

$\begin{matrix}{b = {y_{i} - {\sum\limits_{j = 1}{\alpha_{j}y_{j}{K( {G_{i},G_{j}} )}}}}} & (2)\end{matrix}$and the decision function is defined as:

$\begin{matrix}{{f(G)} = {{\sum\limits_{i = 1}^{N}{\alpha_{i}y_{i}{K( {G_{i},G} )}}} + b}} & (3)\end{matrix}$

Embodiments may perform a binary graph classification on graph EHR.Given success and failure cases with their associated label (g_(i),y_(i)), we want to learn a classifier such that ƒ=(g_(i))=y_(i) wherey_(i)∈{0, 1} to predict the success or failure outcome y_(i) of thegiven prescription in g_(i). Embodiments may handle this problem via akernelized support vector machine (Kernel-SVM) with a graph kernel asdescribed below.

An exemplary embodiment of a predictive framework 400 directed topredicting effectiveness of a prescribed drug is shown in FIG. 4 .Predictive framework 400 may include information relating to a patient402, such as historical EHRs, information from a doctor 403, the currentdiagnosis 404 and the prescribed drug 406, which may be used to generatea patient graph 408, as described above, and then to generate aclassifier model 410, which may be used to predict effectiveness of theprescribed drug.

In embodiments, an EHR-based graph kernel may include a TemporalTopological Kernel. To provide an effective treatment, considering thetemporal relationships between medical events may be necessary.Embodiments may utilize a temporal topological kernel K_(tp).Specifically, input graphs may be transformed to shortest path graphsand define the kernel function as follows:

Definition 2 (Temporal topological kernel). Let g₁=(V₁,E₁) andg₂=(V₂,E₂) denote the shortest path graph of P_(g1) and P_(g2) by usingthe transformation discussed above, we define Temporal topologicalkernel K_(tp) as:

$\begin{matrix}{{K_{tp}( {g_{1},g_{2}} )} = {\sum\limits_{{e_{1} \in E_{1}},{e_{2} \in E_{2}}}{K_{ts}( {e_{1},e_{2}} )}}} & (4)\end{matrix}$where K_(ts) is a temporal substructure kernel defined on edges e₁=(u₁,v₁) and e₂=(u₂, v₂) which calculates temporal similarity onsubstructures that connect to nodes in ee₁, ee₂.

The intuition of K_(tp) is based on calculating the similarity amongtemporal ordering on substructures (e.g., node neighborhoods) by K_(ts)between input graphs, recursively. If two graphs are similar, theirtemporal order for node neighborhood structures are similar. That is,for a given pair of nodes v₁, v₂ from two similar graphs g₁, g₂, thetime difference from other nodes u_(i), u_(j) in g₁, g₂ to v₁, v₂ whereu_(i), u_(j) lie in the subtrees that connect to v₁, v₂ must be similar.

Definition 3 (Temporal substructure kernel). Given a pair of edgee₁=(u₁, v₁), e₂=(u₂, v₂), their associated edge weight function w₁, w₂of g₁, g₂, and set of neighbor nodes N₁, N₂ of u₁, u₂, we definetemporal substructure kernel K_(ts) as:

$\begin{matrix}{{{K_{ts}( {e_{1},e_{2}} )} = {\underset{{e_{j} = {{({n_{j},u_{2}})} \in E_{2}}},{n_{j} \in N_{2}}}{\sum\limits_{{e_{i} = {{({n_{i},u_{i}})} \in E_{1}}},{n_{i} \in N_{1}}}}{K_{ts}( {e_{i},e_{j}} )}}}{{K_{time}( {{w_{1}( e_{1} )},{w_{2}( e_{2} )}} )} \times {K_{node}( {u_{1},u_{2}} )} \times {K_{node}( {v_{1},v_{2}} )}}} & (5)\end{matrix}$and base case definition for the recursion part in Equation 5 when u₁ oru₂ is the root node:K _(ts)(e ₁ ,e ₂)=K _(time)(w ₁(e ₁),w ₂(e ₂))×K _(node)(u ₁ ,u ₂)×K_(node)(v ₁ ,v ₂),  (6)where K_(time) is defined as:K _(time)(w ₁(e ₁),w ₂(e ₂))=e ^(−1×|w) ¹ ^((e) ¹ ⁾⁻² ² ^((e) ²^()|),  (7)and K_(node) is defined as:

$\begin{matrix}{{K_{node}( {u_{1},u_{2}} )} = \{ \begin{matrix}{1,} & {{{if}{label}( u_{1} )} = {{label}( u_{2} )}} \\{0,} & {otherwise}\end{matrix} } & (8)\end{matrix}$

To show K_(ts) is a valid kernel, it must be shown that it is positivedefinite.

Proof. K_(node) is a Dirac delta function which is proven to be positivedefinite. K_(time) is positive definite since the transformation of anexponential function is positive definite. It is known that positivedefiniteness is closed under positive scalar linear combination andmultiplication on positive definite kernels, and it holds in the basecase definition in Equation 6. As a result, K_(ts) is positive definite,and K_(tp) is therefore positive definite.

Embodiments may, for a given pair of graph input g₁, g₂, calculate theirkernel value via a kernel function. In embodiments, an EHR-based graphkernel may include a Temporal proximity kernel, which requiresdefinition of a Topological sequence and a and Temporal signature. Anexemplary flow diagram of a process 500 of transferring the input frompatient graphs to temporal signatures is shown in FIG. 5 . As shown inFIG. 5 , process 500 begins with patient graphs g₁ 502-1, g₂ 502-2. At504-1, 504-2, a topological sort is performed on each patient graph g₁502-1, g₂ 502-2 to form topological sequences 506-1, 506-2.

To define a topological sequence 506-1, 506-2, let T be a topologicalordering of graph G=(V, E) such that T={n_(i)|i=1, . . . , |V|}, thetopological sequence S is defined asS={n _(i)·label+level|i=1, . . . ,|V|, and n _(i) ∈T}  (9)where + represents the string concatenation and level denotes the orderof occurrence of label associated to node n_(i) in T. Namely, every nodein the topological sequence has an attached number to indicate thelevel. The level indicates the order of occurrence of the same nodelabel in the topological ordering.

At 508, unions of topological sequences 506-1, 506-2 are performed togenerate temporal signatures 510-1, 510-2. To define a topologicalsignature, let S₁, S₂ be topological sequences of two input graphs g₁,g₂, and S=S₁∪S₂ with the union set length m=|S|. Define the temporalsignature for g₁ as tp₁={v₁₁, . . . , v_(1m)} where

$\begin{matrix}{v_{1_{j}} = \{ {\begin{matrix}d_{j,} & {{{if}{S\lbrack j\rbrack}} \in S_{1}} \\{{- 1},} & {otherwise}\end{matrix},{{{for}j} = 1},\ldots,m} } & (10)\end{matrix}$and define the temporal signature for g₂ as

tp₂ = {v₂₁, ⋯, v_(2m)}where $\begin{matrix}{v_{2_{j}} = \{ {\begin{matrix}d_{j,} & {{{if}{S\lbrack j\rbrack}} \in S_{2}} \\{{- 1},} & {otherwise}\end{matrix},{{{for}j} = 1},\ldots,m} } & (11)\end{matrix}$for d_(j) denotes the total passage day from the root node to node n_(j)in its belonging patient graph. Thus, g₁ 502-1, g₂ 502-2 have beentransferred into their vector representations tp₁ 510-1, tp₂ 510-2.

At 512, a similarity score may be computed. For example, a temporalproximity kernel K_(tp) may calculate the kernel value between g₁, g₂via temporal signature tp₁, tp₂ as:K _(tp)(g ₁ ,g ₂)=e ^(−∥∥tp) ¹ ^(−tp) ² ^(∥∥)  (12)where ∥tp₁−tp₂∥ is the Euclidean distance between tp₁, tp₂.

An exemplary flow diagram of a process 600 of transferring the inputfrom patient graphs to a shortest path kernel is shown in FIG. 6 . Asshown in FIG. 6 , process 600 begins with patient graphs g₁ 602-1, g₂602-2. At 604-1, 604-2, a shortest path graphs are generated from eachpatient graph g₁ 602-1, g₂ 602-2. At 606, a shortest path kernel K_(sp)calculates the edge walk similarity on the shortest path graphs for twoinput graphs, for example by counting the total number of edges that arethe same.

An exemplary flow diagram of a process 700 of transferring the inputfrom patient graphs to a node kernel is shown in FIG. 7 . As shown inFIG. 7 , process 700 begins with patient graphs g₁ 702-1, g₂ 702-2. At704, a node kernel K_(node) compares the node labels of two inputgraphs. The kernel value is the total number of same node labels:

$\begin{matrix}{{K_{node}( {g_{1},g_{2}} )} = {\sum\limits_{{n_{1} \in g_{1}},{n_{2} \in g_{1}},V}{K_{label}( {n_{1},n_{2}} )}}} & (13)\end{matrix}$where K_(label) is defined as:

$\begin{matrix}{{K_{label}( {n_{1},n_{2}} )} = \{ \begin{matrix}{1,} & {{{if}{label}( n_{1} )} = {{label}( n_{2} )}} \\{0,} & {otherwise}\end{matrix} } & (14)\end{matrix}$

Embodiments may utilize a multiple graph kernel fusion architecture(MGKF) 800 to perform graph classification, a process of operation ofwhich is shown in FIG. 8 . At 802, a plurality of patient graphs may bereceived/input. At 804, a plurality of kernel gram matrices may begenerated. To capture multi-view characteristics on patient graphs, twoadditional kernels may be used—the shortest path kernel and the nodekernel, in conjunction with the temporal proximity kernel. The bestcombination of these kernels may be found in an end-to-end manner.Specifically, temporal proximity kernel K_(tp) focuses on temporalsimilarity between substructure such as node ordering and their timedifference, shortest path kernel K_(sp) aims to capture similarity inoverall connection, and node kernel K_(node) offers a balance betweenlocal and global similarity by comparing all node labels between twopatient graphs to achieve best accuracy as well as prevent overfittingfrom noise collaboratively by kernels.

Given kernel gram matrices on all pair of n graphs for each kernel typeK_(t)∈R^(n×n) where K_(t) g_(i), g_(j)=k_(t)(g_(i),g_(j)) and t∈{tp,sp,node}, at 806, a Multi-layer perceptron (MLP) may be used to preformrepresentation learning to generate the corresponding kernel embedding808 representation g_(emb) _(t) ∈R^(n×m) where m<<n. In this case, eachrow i in K_(t) represents a high-dimensional feature vector with eachdimension being a kernel value (e.g., similarity score) between itsassociated graph g_(i) and all other graphs, and its kernel embeddingg_(emb) _(t) , can be treated as a dimension reduction by usingtraditional kernel approximation techniques to generate low dimensionalfeatures for g_(i) such that efficient linear classifier can be useddirectly. g_(i) _(t) ∈R^(n) is converted to g_(emb) _(t) ∈R^(m) underkernel type t as follows:g _(emb) _(t) =ReLU(W _(t) g _(i) _(t) +b _(t))  (15)by using the kernel embedding weight matrix W_(t)∈R^(m×n) and the biasvector b_(t)∈R^(m) where n is the number of input graphs, and m is thedimension for the embedding space. The rectified linear unit (ReLU)activation is defined as ReLU(val)=max(val, 0). For deep architecture,the layer l may be computed with its previous layer l−1 with relatedparameters W_(tl) and b_(tl) within layer by using the same way that wecompute the embedding for input kernel gram matrix such as:

$\begin{matrix}{g_{{emb}_{t}} = {{Re}{{LU}( {{W_{t_{i}}g_{{emb}_{t_{l - 1}}}} + b_{t_{l}}} )}}} & (16)\end{matrix}$

At 810, to combine three kernels, their embeddings 808 from the lastlayer may be averaged and at 812 may be fused to generate the kernelfusion g_(emb) _(F) 814 using another dense layer with ReLU activationthat learns the kernel fusion g_(emb) _(F) ∈R^(f):

$\begin{matrix}{{g_{{emb}_{sum}} = {\sum\limits_{t \in {\{{{tp},{sp},{node}}\}}}g_{{emb}_{t_{last}}}}}{g_{{emb}_{avg}} = \frac{g_{{emb}_{sum}}}{3}}{g_{{emb}_{F}} = {{{Re}{LU}}( {{W_{F}g_{{emb}_{avg}}} + b_{F}} )}}} & (17)\end{matrix}$in which W_(F)∈R^(f×q) is the fusion weight matrix with fusion embeddingdimension f and the bias vector b_(F)∈R_(f) assuming the last embeddinglayer dimension is q.

Further, at 816, the prediction 818 of the label of success or failurefor g_(emb) _(F) may be produced by using a Sigmoid layer defined as:{circumflex over (y)}=Sigmoid(W _(p) g _(emb) _(F) +b _(p))  (18)where W_(p)∈R^(1×f) and b_(p)∈R are trainable weights used to generateclass label ŷ∈{0, 1}. A binary cross-entropy loss function may be usedto optimize the best embedding under the fusion setting to learn allkernel embedding weight matrices.

In embodiments, each row (for example, each patient) depicts a highdimensional feature vector with each dimension corresponding a kernelvalue to a specific training example. Since the kernel value can betreated as a similarity measurement, the concept in similarity-basedclassification may be used, in which class labels are inferred by a setof most similar training examples, and the top k most similar patientsmay be consulted to get prediction insights based on the nature thatfeatures with higher weight contribute more to the result in a linearclassifier. Kernel embedding, reducing input dimension, for each kerneltype facilitates similarity measurement refinement, reducing the numberof training examples used to infer. Similar patients with allied graphsimilarity may be grouped into one coordinate (e.g., dimension) in theembedding space.

Since kernel embedding space is trained in an end-to-end manner throughReLU operation in Equation 16, which achieves the interpretability, aset of candidates may be selected that contribute most to theprediction, via top k value coordinates in the embedding space. Theselected ones under different kernel type can be interpreted asmulti-view representative cases (such as time propagation or diseaseconnection) in case-based learning. In practice, patient g_(emb) _(t)may be sorted in kernel embedding space, and the top k coordinates maybe selected. The top k′ training examples for the i-th coordinate in topk coordinates may be selected. All sorts are in a reverse order:argsort(g _(emb) _(t) )[1:k]  (19)argsort(W _(t) [i,:])[1:k′]  (20)

An exemplary process 900 of interpretation is shown in FIG. 9 . Given anembedded patient vector g_(emb) _(tp) 902, at 904, it may be sorted in adescending order and, for example, the top three value dimensions may beselected. At 906, the training examples in g_(tp) 908, which contributemost may be found, through weight matrix W_(tp) 912.

An exemplary embodiment of a predictive framework 1000 directed topredicting effectiveness of a course of treatment for a chroniccondition is shown in FIG. 10 . Predictive framework 1000 may includeinformation relating to a patient 1002, such as patient EHRs, which maybe used to generate a patient graph 1004, as described above. Patientgraph 1004 may be used to generate a Cross-Global Attention Graph KernelNetwork 1006, which may be used to generate an optimal graph kernel andKernel Gram Matrix 1008 which may be used to generate a trained KernelSVM 1010, which may be used to predict effectiveness of the course oftreatment.

Embodiments may formulate the prediction task as a binary graphclassification on graph-based EHRs 1004 using a kernel SVM 1010. Suchembodiments may learn a graph kernel. Given a set of success and failurecase patient graphs G, a deep neural network may learn an optimal graphkernel k. Then, the prediction for success or failure is performed by akernel SVM 1010 using a kernel gram matrix K 1008 such thatK_(ij)=k(G_(i),G_(i)) where G_(i),G_(i)∈G. For an incoming patient, apatient graph G_(p) 1004 may be created based on the concatenation ofpatient's medical history, current diagnosis, and treatment plan. Then,the kernel value between Gp and all training examples Gi∈G may bedetermined, and prediction may be performed through a kernel SVM 1010,as shown in FIG. 10 .

In embodiments, a Cross-Global Attention Graph Kernel Network 1100 maylearn an end-to-end deep graph kernel on a batch of graphs, as shown inFIG. 11 . At 1102, a plurality of patient graphs may be received/input.The node level embedding 1104 and node clusters 1106 may be determinedfirst by, at 1108 determining shared weight Graph Convolutional Networks(GCNs) to form node level embedding 1104, and at 1110, determininglearning node clusters with reconstruction loss to form node clusters1106. The graph level embedding may be derived 1112 from node matching1114 based attention pooling 1115. The loss 1120 may be calculated 1116by the resulting distance and kernel matrix 1118 and backpropagation1122 may be performed to update all model parameters.

As shown, this may be accomplished through cross-global attention nodematching without an explicit pairwise similarity computation. Given abatch B of input graphs G₁, . . . , G_(|B|) with batch size |B|, theirnodes may be embedded into a lower dimensional space, where nodestructures and attribute information are encoded in dense vectors. Agraph level embedding may then be produced by a graph pooling operationon node level embedding via cross-global attention node matching. Thebatchwise cosine distance may be calculated and a kernel gram matrix maybe generated on the entire batch of resulting graph embedding. Finally,the network loss may be computed with contrastive loss, kernelalignment, and SVM primal objective.

Embodiments may perform Graph Embedding using Graph ConvolutionalNetworks. Graph Convolutional Networks (GCN) may perform 1-hop neighborfeature aggregation for each node in a graph. The resulting graphembedding is permutation invariant when a pooling operation is properlychosen. Given an n number of nodes patient graph G with node attributeone-hot vector matrix X∈R^(n) ^(×) ^(c), where c denotes the totalnumber of medical codes in EHRs, and a weighted adjacency matrix A∈R^(n)^(×) ^(n), GCN may be used to generate a node level embedding H∈R^(n)^(×) ^(d) with embedding size d∈R as follows:H=ƒ({tilde over (D)} ⁻¹ ÃXW)  (21)where {tilde over (D)} is the diagonal node degree matrix of Ã definedwith {tilde over (D)}=Σ_(j)Ã_(ij), Ã=A+I is the adjacency matrix withself-loops added, W∈R^(c) ^(×) ^(d) is a trainable weight matrix, and ƒis a non-linear activation function such as ReLU (x)=max (0, x). Theembedding H can be an input to another GCN, creating stacked multiplegraph convolution layers:H ^(k+1)=ƒ({tilde over (D)} ⁻¹ ÃH ^(k) W ^(k)),H ⁰ =X  (22)where H^(k) is the node embedding after the k^(th) GCN operation, andW^(k) is the trainable weight associated with the k^(th) GCN layer. Theresulting node embedding H^(k+1) contains k-hop neighborhood structureinformation aggregated by graph convolution layers.

Embodiments may perform graph embedding using higher-order graphinformation. To capture longer distance nodes and their hierarchicalmulti-hop neighborhood information, t multiple GCN layers may be stackedand all layer's outputs H^(1:) ^(t) =[H¹, . . . , H^(t)] concatenated,where H^(1:) ^(t) ∈R^(n) ^(×) ^((t) ^(×) ^(d)). The concatenated nodeembedding might be very large and could potentially cause a memory issuefor subsequent operations. To mitigate such drawbacks, we perform anon-linear transformation on H^(1:) ^(t) by a trainable weightW_(concat∈R) ^((t) ^(×) ^(d)) ^(×) ^(d) and a ReLU activation functionas follows:H _(final)=ReLU(H ^(1:t) W _(concat))  (23)To produce the graph level embedding, instead of using another type ofpooling operation, embodiments may use cross-global attention nodematching and its derived attention based pooling.

Cross-Global Attention Node Matching between graphs may be computed viaa pairwise node similarity measurement. This optimizes a distancemetric-based or KL-divergence loss on the graph pairs or tripletsnecessitating vast training pairs or triplets to capture the entireglobal characteristics. One way to avoid explicit pair or tripletgeneration utilizes efficient batch-wise learning via optimizingclassification loss. However, pairwise node matching in a batch-wisesetting is problematic due to graph size variability. To address thisissue, one may use a batch-wise attention-based node matching scheme,also known as cross-global attention node matching. The matching schememay learn a set of global node clusters and may compute the attentionweight between each node and the representation associated with itsmembership cluster. The pooling operation based on its attention scoreto global cluster may perform a weighted sum on nodes to derive a singlegraph embedding.

Given node embedding H_(final)∈R^(n) ^(×) ^(d) from the last GCN layerand transformation after concatenation in Equation 23, define M∈R^(s)^(×) ^(d) as a trainable global node cluster matrix with s clusters andd dimension features sized to provide an overall representation of itsmembership nodes. Here, define membership assignment A∈R^(n) ^(×) ^(s)for H_(final) and as follows:A=Sparsemax(ReLU(H _(final) M ^(T)))  (24)where Sparsemax is a sparse version Softmax, that outputs sparseprobabilities. It can be treated as a sparse soft cluster assignment. Amay be interpreted as a cluster membership identity with s dimensionfeature representation. Further define the query of nodes'representation in their belonging membership cluster:Q=Tahn(AM)  (25)where Q∈R^(n) ^(×) ^(d) denotes a queried representation for each nodein H_(final) from their belonging membership cluster. As shown in FIG.12 , matching can be treated as retrieving cluster identity from globalnode clusters, and similar nodes are assigned to a similar or even thesame cluster membership identity. To construct a better cluster, we addan auxiliary loss by minimizing the reconstruction errorL_(recon)=∥H_(final)−Q∥F, which is similar to Non-negative MatrixFactorization (NMF) clustering.

Embodiments may utilize Pooling with Attention-based Node Matching. Theintuition of pairwise node matching is to assign higher attention-weightto those similar nodes. In other words, matching occurs when two nodesare highly similar, closer to each other than to other possible targets.Following this idea, it is observed that two nodes are matched if theyhave similar or even identical cluster membership. The higher thesimilar membership identity, the higher the degree of node matching. Inaddition, a cluster is constructed by minimizing the reconstructionerror between the original node H_(final) and the query representationQ. A node with high reconstruction error means no specific clusterassignment and further lowers the chance to match other nodes. This canbe measured by using similarity metrics (e.g., cosine similarity)between H_(final) and Q. Based on these observations, cross-globalattention node matching pooling may be designed, wherein a node similarto the representation in its cluster membership should receive higherattention weight, as follows:

a = Softmax(Sim(H_(final), Q)) $\begin{matrix}{G_{emb} = {\sum\limits_{i = 1}^{n}{a_{i}H_{{final}_{i}}}}} & (26)\end{matrix}$where α∈R^(n) is the attention weight for each node, Softmax is appliedto generate importance among nodes by using Sim, a similarity metric(e.g., cosine similarity), and the resulting pooling G_(emb) is theweighted sum of node embeddings that compress higher order structure andnode matching information from other graphs.

Matching and cluster assignment membership is illustrated in FIG. 12 ,which shows a predictive framework 1200. Each node in G₁ 1202, G₂ 1204may map to a cluster 1206. Their cluster membership assignments maygenerate their query, which is their representation in terms ofbelonging to a cluster. Such an assignment may be seen as a soft labelof cluster membership identity. Similar query means similar clustermembership identity, inducing possible matching.

Graph Kernel. Given a graph pair with their graph level embeddingsG_(emb) ₁ , G_(emb) ₂ , the graph kernel may be defined as follows:

$\begin{matrix}{{{{Di}{{st}_{C}( {G_{{emb}_{1}},G_{{emb}_{2}}} )}} = {1 - \frac{G_{{emb}_{1}} \cdot G_{{emb}_{2}}}{{G_{{emb}_{1}}}{G_{{emb}_{2}}}}}}{{{Dist}_{E}( {G_{{emb}_{1}},G_{{emb}_{2}}} )} = {{G_{{emb}_{1}} - G_{{emb}_{2}}}}_{2}}{{K( {G_{{emb}_{1}},G_{{emb}_{2}}} )} = {\exp( {- {{Dist}( {G_{{emb}_{1}} - G_{{emb}_{2}}} )}^{2}} )}}} & (27)\end{matrix}$where Dist_(C) is a cosine distance and Dist_(E) is the Euclideandistance. Dist can be either Dist_(C) or Dist_(E). The resulting kernelfunction is positive definite since exp(−x) is still positive definitefor any non-negative real number x. Cosine distance enjoys benefits inmore complex data representations. Euclidean distance considers vectormagnitude (such as the norm) during measurement which is notsufficiently sensitive to highly variant features such as long-termdisease progressions. Moreover, cosine distance can measure objects onmanifolds with nonzero curvature such as spheres or hyperbolic surfaces.In general, Euclidean distance can only be applied to local problemswhich may not be sufficient to express complex feature characteristics.The resulting cosine guided kernel is more expressive, and thus, capableof performing implicit high dimensional mapping. Note that the use ofother distance functions that support a positive definitive kernel islikewise within the scope of this disclosure,

Given a batch B of input graphs and their class labels y∈R^(|B|) ^(×1)where y_(i)∈{1, 0}, we get their graph level embeddings for the entirebatch via shared weight GCN with cross-global node matching pooling.Then, we calculate their batch-wise distance matrix D∈R^(|B|) ^(×)^(|B|) and batch-wise kernel gram matrix K∈R^(|B|) ^(×) ^(|B|). Themodel can be trained by mini-batch Stochastic Gradient Descent (SGD)without training pair and triplet generation. To learn an optimal graphembedding, which results in an optimal graph kernel, we optimize it bycontrastive loss with a margin threshold λ>0 and kernel alignment loss:

$\begin{matrix}{\mathcal{L}_{contrastive} = {{\frac{1}{❘B❘}{\sum\limits_{i,{j \in B}}{( {1 - Y_{ij}} ){\max( {0,{\lambda - D_{ij}}} )}^{2}}}} + {Y_{ij}D_{ij}}}} & (28)\end{matrix}$and kernel alignment loss:

$\begin{matrix}{\mathcal{L}_{alignment} = {\frac{1}{❘B❘}\sqrt{2 - {2( {\langle {K,Y} \rangle_{F}/\sqrt{\langle {K,K} \rangle_{F}\langle {Y,Y} \rangle_{F}}} }}}} & (29)\end{matrix}$where

,

_(F) denotes the Frobenius inner product, K is a batch-wise kernel grammatrix, and Y∈R^(|B|) ^(×) ^(|B|) where Y_(ij)=1 if y_(i)=y_(j) elseY_(ij)=0. A good distance-metric may induce a good kernel function andvice versa. So, the graph kernel may be learned jointly through optimalcosine distance between graphs via contrastive loss with an optimalgraph kernel through kernel alignment loss:

_(kernel)=

_(contrastive)+

_(alignment)  (30)

To align a learned embedding, distance, and kernel to the classificationloss in end-to-end training, the SVM primal objective may beincorporated with a squared hinge loss function into the objective:

$\begin{matrix}{\mathcal{L}_{SVM} = {{C{\sum\limits_{i,{j \in B}}{\beta_{i}\beta_{j}K_{ij}}}} + {\sum\limits_{i}{\max( {0,{1 - {y_{i}{\sum\limits_{j \in B}{K_{ij}\beta_{j}}}}}} )}^{2}}}} & (31)\end{matrix}$where C>=0 is a user defined inverse regularization constant andβ∈R^(|B|) ^(×1) is a trainable coefficient weight vector. The followingis the final model optimization problem formulation:

$\begin{matrix}{{\min\limits_{\theta,\beta}\underset{\theta}{\mathcal{L}_{kernel}}} + \underset{\theta}{\mathcal{L}_{recon}} + \underset{\beta}{\mathcal{L}_{SVM}}} & (32)\end{matrix}$where θ denotes a set of all trainable variables in graph embedding andβ is a trainable coefficient weight vector for SVM. Since the trainingis done by mini-batch SGD, the SVM objective is only meaningful for agiven batch. Namely, gradient for β in SVM are only relevant for thecurrent batch update as the SVM objective is dependent on the inputkernel gram matrix. When training proceeds to the next batch, the kernelgram matrix is different, and the optimized β is inconsistent with thelast batch status. To resolve this inconsistent weight update problem,treat SVM as a light-weight auxiliary objective (e.g., regularization),encouraging the model to learn an effective graph kernel. In this case,first perform a forward pass through graph kernel network, then trainthe SVM by feeding in the kernel gram matrix from the forward passoutput until convergence. The positive definiteness of the kernelfunction guarantees SVM convergence. Once the SVM is trained, treat β asa model constant, and

_(SVM) now acts as a regular loss function. The gradient of θ can becomputed through

_(kernel),

_(recon), and

_(SVM), and the model can perform backpropagation to update θ.

An exemplary process 1500 for predicting the outcome of a drugprescription is shown in FIG. 15 . Process 1500 begins with 1502, inwhich a classifier with an MGKF framework may be built and trained foreach type of disease. Typically, training may be performed using onlypatients with that type of disease to train the MGKF. At 1504, tocomplete the training, the trained classifiers may be used with an MGKFframework to perform prediction for each type of disease. At 1506, foran incoming patient with a diagnosis, at 1508 the diagnosis and theexpected drug prescription may be concatenated to the patient's medicalhistory (if any). At 1510, a patient graph g may be created. At 1512,three types of kernel feature vectors, for a Temporal Proximity Kernel,a Shortest Path Kernel, and a Node Kernel, may be calculated between gand all training examples. At 1514, a probability output may be obtainedusing the MGKF with same disease diagnosis type. For example, aprobability output >0.5 may mean possible failure. At 1516, a drug ortreatment that is likely to be effective, based on the probabilityoutput for that drug or treatment may be selected and prescribed to apatient.

An exemplary process 1502 of training a classifier with an MGKFframework is shown in FIG. 16 . Given n patient graphs under specifictype of disease for example, a UTI, an n×n kernel gram matrix may becreated for each of k_(tp), k_(sp), and k_(node). Each row represents ann dimension feature vector for each associated patient and describes thesimilarity (kernel value) to all n patients. In this example, there aren patients with each patient having an n dimensional feature vector ink_(tp), k_(sp), and k_(node). Each row in k_(tp), k_(sp), and k_(node)may be treated as a one-dimensional feature vector 1608.

An exemplary process 1504, of using the trained classifiers with an MGKFframework to perform prediction for each type of disease is shown inFIGS. 17 and 18 . The three types of feature vectors (vector of kernelvalues 1608) may be input into an MGKF framework to generatepredictions. A portion (representation learning) 1700 of exemplaryprocess 1504 is shown in FIG. 17 . For each n dimensional feature vector1608 from k_(tp), k_(sp), and k_(node,) MLP 1702 may be used to reducethe dimension from n to m. For example, at 1702 each type of featurevector may be embedded with a dimension size 10,000 to 1,000 1704 via asingle layer MLP with ReLU activation (1,000 hidden size). At 1706, foreach type of embedding, the dimension may, for example, be reduced from1,000 to 500 via a 3 layer MLP with ReLU activation (hidden size for800, 600, and 500 for each layer) to get a final representation 1708.

A portion (Kernel Fusion and Prediction) 1800 of exemplary process 1504is shown in FIG. 18 . After final representation learning (embedding)1708 for each type of feature vectors, the feature vectors may beaveraged to form a single vector and input into a single layer MLP (500hidden size) 1804 to learn the final representation 1806. At 1808,another MLP, such as a single layer (1 hidden size) MLP with sigmoidactivation may be used to output probability 1810 of likelihood forsuccess or failure.

An exemplary process of predicting drug and/or treatment outcomes isshown in FIG. 19 . Process 1900 begins with 1902, in which, for trainingfor one type of disease, at 1904, n patients, for example, 10,000, maybe selected under selected disease types as training examples, and theirpatient graphs may be created. At 1906, a pairwise kernel matrix undereach type of kernel, a Temporal Proximity Kernel, a Shortest PathKernel, and a Node Kernel, may be computed, for all patients. At 1908,the pairwise kernel matrix may be input to train the MGKF. At 1910,predictions for incoming patients may be generated. At 1912, if thepatient is a new patient, that is, not included in the trainingexamples, then the kernel values between the graph of the new patientand all training examples may be computed. If the patent is an oldpatient, that is, included in the training examples, then return theentire patient's belonging row in the kernel gram matrix k_(tp), k_(sp),and k_(node). It may be noted that there is no need to retrain whenthere is a sufficiently large number of training examples.

An exemplary block diagram of a computer system 2000, in which processesinvolved in the embodiments described herein may be implemented, isshown in FIG. 20 . Computer system 2000 may be implemented using one ormore programmed general-purpose computer systems, such as embeddedprocessors, systems on a chip, personal computers, workstations, serversystems, and minicomputers or mainframe computers, or in distributed,networked computing environments. Computer system 2000 may include oneor more processors (CPUs) 2002A-2002N, input/output circuitry 2004,network adapter 2006, and memory 2008. CPUs 2002A-2002N execute programinstructions in order to carry out the functions of the presentcommunications systems and methods. Typically, CPUs 2002A-2002N are oneor more microprocessors, such as an INTEL CORE® processor. FIG. 20illustrates an embodiment in which computer system 2000 is implementedas a single multi-processor computer system, in which multipleprocessors 2002A-2002N share system resources, such as memory 2008,input/output circuitry 2004, and network adapter 2006. However, thepresent communications systems and methods also include embodiments inwhich computer system 2000 is implemented as a plurality of networkedcomputer systems, which may be single-processor computer systems,multi-processor computer systems, or a mix thereof.

Input/output circuitry 2004 provides the capability to input data to, oroutput data from, computer system 2000. For example, input/outputcircuitry may include input devices, such as keyboards, mice, touchpads,trackballs, scanners, analog to digital converters, etc., outputdevices, such as video adapters, monitors, printers, etc., andinput/output devices, such as, modems, etc. Network adapter 2006interfaces device 2000 with a network 2010. Network 2010 may be anypublic or proprietary LAN or WAN, including, but not limited to theInternet.

Memory 2008 stores program instructions that are executed by, and datathat are used and processed by, CPU 2002 to perform the functions ofcomputer system 2000. Memory 2008 may include, for example, electronicmemory devices, such as random-access memory (RAM), read-only memory(ROM), programmable read-only memory (PROM), electrically erasableprogrammable read-only memory (EEPROM), flash memory, etc., andelectro-mechanical memory, such as magnetic disk drives, tape drives,optical disk drives, etc., which may use an integrated drive electronics(IDE) interface, or a variation or enhancement thereof, such as enhancedIDE (EIDE) or ultra-direct memory access (UDMA), or a small computersystem interface (SCSI) based interface, or a variation or enhancementthereof, such as fast-SCSI, wide-SCSI, fast and wide-SCSI, etc., orSerial Advanced Technology Attachment (SATA), or a variation orenhancement thereof, or a fiber channel-arbitrated loop (FC-AL)interface.

The contents of memory 2008 may vary depending upon the function thatcomputer system 2000 is programmed to perform. In the example shown inFIG. 20 , exemplary memory contents are shown representing routines anddata for embodiments of the processes described above. However, one ofskill in the art would recognize that these routines, along with thememory contents related to those routines, may not be included on onesystem or device, but rather may be distributed among a plurality ofsystems or devices, based on well-known engineering considerations. Thepresent communications systems and methods may include any and all sucharrangements.

In the example shown in FIG. 20 , memory 2008 may include classifierbuild and train routines 2012, prediction routines 2014, graph creationroutines 2016, kernel feature vector routines 2018, probability routines2020, and operating system 2022. Classifier build and train routines2012 may include software to build and train a classifier with an MGKFframework for each type of disease, as described above. Predictionroutines 2014 may include software to use the trained classifiers withan MGKF framework to perform prediction for each type of disease, asdescribed above. Graph creation routines 2016 may include software tocreate patient graphs, as described above. Kernel feature vectorroutines 2018 may include software to calculate three types of kernelfeature vectors, a Temporal Proximity Kernel, a Shortest Path Kernel,and a Node Kernel, between each patient graph and all training examples,as described above. Probability routines 2020 may include software togenerate a probability output using the MGKF with same disease diagnosistype, as described above. Operating system 2022 may provide additionalsystem functionality.

As shown in FIG. 20 , the present communications systems and methods mayinclude implementation on a system or systems that providemulti-processor, multi-tasking, multi-process, and/or multi-threadcomputing, as well as implementation on systems that provide only singleprocessor, single thread computing. Multi-processor computing involvesperforming computing using more than one processor. Multi-taskingcomputing involves performing computing using more than one operatingsystem task. A task is an operating system concept that refers to thecombination of a program being executed and bookkeeping information usedby the operating system. Whenever a program is executed, the operatingsystem creates a new task for it. The task is like an envelope for theprogram in that it identifies the program with a task number andattaches other bookkeeping information to it. Many operating systems,including Linux, UNIX®, OS/2®, and Windows®, are capable of running manytasks at the same time and are called multitasking operating systems.Multi-tasking is the ability of an operating system to execute more thanone executable at the same time. Each executable is running in its ownaddress space, meaning that the executables have no way to share any oftheir memory. This has advantages, because it is impossible for anyprogram to damage the execution of any of the other programs running onthe system. However, the programs have no way to exchange anyinformation except through the operating system (or by reading filesstored on the file system). Multi-process computing is similar tomulti-tasking computing, as the terms task and process are often usedinterchangeably, although some operating systems make a distinctionbetween the two.

The present invention may be a system, a method, and/or a computerprogram product at any possible technical detail level of integration.The computer program product may include a computer readable storagemedium (or media) having computer readable program instructions thereonfor causing a processor to carry out aspects of the present invention.The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice.

The computer readable storage medium may be, for example, but is notlimited to, an electronic storage device, a magnetic storage device, anoptical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers, and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, configuration data for integrated circuitry, oreither source code or object code written in any combination of one ormore programming languages, including an object oriented programminglanguage such as Smalltalk, C++, or the like, and procedural programminglanguages, such as the “C” programming language or similar programminglanguages. The computer readable program instructions may executeentirely on the user's computer, partly on the user's computer, as astand-alone software package, partly on the user's computer and partlyon a remote computer or entirely on the remote computer or server. Inthe latter scenario, the remote computer may be connected to the user'scomputer through any type of network, including a local area network(LAN) or a wide area network (WAN), or the connection may be made to anexternal computer (for example, through the Internet using an InternetService Provider). In some embodiments, electronic circuitry including,for example, programmable logic circuitry, field-programmable gatearrays (FPGA), or programmable logic arrays (PLA) may execute thecomputer readable program instructions by utilizing state information ofthe computer readable program instructions to personalize the electroniccircuitry, to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general-purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or other device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified logical function(s). In some alternativeimplementations, the functions noted in the blocks may occur out of theorder noted in the Figures. For example, two blocks shown in successionmay, in fact, be executed substantially concurrently, or the blocks maysometimes be executed in the reverse order, depending upon thefunctionality involved. It will also be noted that each block of theblock diagrams and/or flowchart illustration, and combinations of blocksin the block diagrams and/or flowchart illustration, can be implementedby special purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions.

Although specific embodiments of the present invention have beendescribed, it will be understood by those of skill in the art that thereare other embodiments that are equivalent to the described embodiments.Accordingly, it is to be understood that the invention is not to belimited by the specific illustrated embodiments, but only by the scopeof the appended claims.

What is claimed is:
 1. A method of computing a probable drug efficacyimplemented in a computer system comprising a processor, memoryaccessible by the processor and storing computer program instructionsand data, and computer program instructions to perform: for each of aplurality of patients, generating and storing in the memory a graph,each graph comprising: a plurality of nodes, each node representing amedical event of the patient, a plurality of edges connecting nodesrepresenting two consecutive medical events, each edge of the pluralityof edges having a weight based on a time difference between the twoconsecutive medical events; capturing, using the processor, a pluralityof features from each graph stored in the memory by: transforming eachgraph to a shortest path graph; generating a temporal topological kernelby recursively calculating similarity among temporal ordering on aplurality of groups of nodes; and generating a temporal substructurekernel on edges connecting nodes in each group of nodes; training, usinga multiple graph kernel fusion (MGKF) framework, a classifier modelusing a plurality of the captured features of each graph; applying theclassifier model to determine a probability that a drug or treatmentwill be effective for a particular patient; and determining, using theprocessor, a drug or treatment to be prescribed to the particularpatient based on the determined probability.
 2. The method of claim 1,wherein the classifier model comprises a deep learning model.
 3. Themethod of claim 2, wherein the deep learning model comprises a neuralnetwork.
 4. The method of claim 1, wherein the plurality of features iscaptured by: generating a topological ordering of each graph based on anorder of occurrence of a label associated with each node in each graph;generating a topological sequence of each graph comprising a pluralityof levels indicating an order of occurrence of a same node label in thetopological sequence; generating a temporal signature for each graphcomprising a series of total passage times between nodes in a union of aplurality of topological sequences; generating a temporal proximitykernel between a plurality of pairs of temporal signatures; generating ashortest path kernel by calculating an edge walk similarity on at leastone shortest path graph for a plurality of pairs of graphs; generating anode kernel by comparing node labels of a plurality of pairs of graphs;and fusing the temporal proximity kernel, the shortest path kernel, andthe node kernel.
 5. The method of claim 4, wherein the fusing comprises:reducing dimensions of the temporal proximity kernel, the shortest pathkernel, and the node kernel for the plurality of pairs of graphs; andaveraging embeddings of the temporal proximity kernel, the shortest pathkernel, and the node kernel for the plurality of pairs of graphs.
 6. Themethod of claim 5, further comprising determining a success or failureof the fusion using a sigmoid layer.
 7. The method of claim 1, whereinthe patient is a non-human animal.
 8. The method of claim 1, wherein aselected node in the graph comprises patient demographic informationincluding at least a gender of the patient.
 9. The method of claim 1,wherein the graph is a directed acyclic graph.
 10. A system forcomputing a probable drug efficacy comprising a processor, memoryaccessible by the processor and storing computer program instructionsand data, and computer program instructions to perform: for each of aplurality of patients, generating and storing in the memory a graph,each graph comprising: a plurality of nodes, each node representing amedical event of the patient, a plurality of edges connecting nodesrepresenting two consecutive medical events, each edge of the pluralityof edges having a weight based on a time difference between the twoconsecutive medical events; capturing, using the processor, a pluralityof features from each graph stored in the memory by: transforming eachgraph to a shortest path graph; generating a temporal topological kernelby recursively calculating similarity among temporal ordering on aplurality of groups of nodes; and generating a temporal substructurekernel on edges connecting nodes in each group of nodes; training, usinga multiple graph kernel fusion (MGKF) framework, a classifier modelusing a plurality of the captured features of each graph; applying theclassifier model to determine a probability that a drug or treatmentwill be effective for a particular patient; and determining, using theprocessor, a drug or treatment to be prescribed to the particularpatient based on the determined probability.
 11. The system of claim 10,wherein the classifier model comprises a deep learning model.
 12. Thesystem of claim 11, wherein the deep learning model comprises a neuralnetwork.
 13. The system of claim 10, wherein the plurality of featuresis captured by: generating a topological ordering of each graph based onan order of occurrence of a label associated with each node in eachgraph; generating a topological sequence of each graph comprising aplurality of levels indicating an order of occurrence of a same nodelabel in the topological sequence; generating a temporal signature foreach graph comprising a series of total passage times between nodes in aunion of a plurality of topological sequences; generating a temporalproximity kernel between a plurality of pairs of temporal signatures;generating a shortest path kernel by calculating an edge walk similarityon at least one shortest path graph for a plurality of pairs of graphs;generating a node kernel by comparing node labels of a plurality ofpairs of graphs; and fusing the temporal proximity kernel, the shortestpath kernel, and the node kernel.
 14. The system of claim 13, whereinthe fusing comprises: reducing dimensions of the temporal proximitykernel, the shortest path kernel, and the node kernel for the pluralityof pairs of graphs; and averaging embeddings of the temporal proximitykernel, the shortest path kernel, and the node kernel for the pluralityof pairs of graphs.
 15. The system of claim 14, further comprisingdetermining a success or failure of the fusion using a sigmoid layer.16. The system of claim 10, wherein the patient is a non-human animal.17. The system of claim 10, wherein a selected node in the graphcomprises patient demographic information including at least a gender ofthe patient.
 18. The system of claim 10, wherein the graph is a directedacyclic graph.
 19. A computer program product for computing a probabledrug efficacy, the computer program product comprising a non-transitorycomputer readable storage having program instructions embodiedtherewith, the program instructions executable by a computer, to causethe computer to perform a method comprising: for each of a plurality ofpatients, generating and storing in memory a graph, each graphcomprising: a plurality of nodes, each node representing a medical eventof the patient, a plurality of edges connecting nodes representing twoconsecutive medical events, each edge of the plurality of edges having aweight based on a time difference between the two consecutive medicalevents; capturing, using the processor, a plurality of features fromeach graph stored in the memory by: transforming each graph to ashortest path graph; generating a temporal topological kernel byrecursively calculating similarity among temporal ordering on aplurality of groups of nodes; and generating a temporal substructurekernel on edges connecting nodes in each group of nodes; training, usinga multiple graph kernel fusion (MGKF) framework, a classifier modelusing a plurality of the captured features of each graph; applying theclassifier model to determine a probability that a drug or treatmentwill be effective for a particular patient; and determining, using theprocessor, a drug or treatment to be prescribed to the particularpatient based on the determined probability.
 20. The computer programproduct of claim 19, wherein the classifier model comprises a deeplearning model.
 21. The computer program product of claim 20, whereinthe deep learning model comprises a neural network.
 22. The computerprogram product of claim 19, wherein the plurality of features iscaptured by: generating a topological ordering of each graph based on anorder of occurrence of a label associated with each node in each graph;generating a topological sequence of each graph comprising a pluralityof levels indicating an order of occurrence of a same node label in thetopological sequence; generating a temporal signature for each graphcomprising a series of total passage times between nodes in a union of aplurality of topological sequences; generating a temporal proximitykernel between a plurality of pairs of temporal signatures; generating ashortest path kernel by calculating an edge walk similarity on at leastone shortest path graph for a plurality of pairs of graphs; generating anode kernel by comparing node labels of a plurality of pairs of graphs;and fusing the temporal proximity kernel, the shortest path kernel, andthe node kernel.
 23. The computer program product of claim 22, whereinthe fusing comprises: reducing dimensions of the temporal proximitykernel, the shortest path kernel, and the node kernel for the pluralityof pairs of graphs; and averaging embeddings of the temporal proximitykernel, the shortest path kernel, and the node kernel for the pluralityof pairs of graphs.
 24. The computer program product of claim 23,further comprising determining a success or failure of the fusion usinga sigmoid layer.
 25. The computer program product of claim 19, whereinthe patient is a non-human animal.
 26. The computer program product ofclaim 19, wherein a selected node in the graph comprises patientdemographic information including at least a gender of the patient. 27.The computer program product of claim 19, wherein the graph is adirected acyclic graph.